//
//  TransitionAnimation.h
//  基本框架
//
//  Created by runone02 on 2018/7/25.
//  Copyright © 2018年 liqiyun. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <UIKit/UIKit.h>

typedef NS_ENUM(NSInteger, TransitionType) {
    /** presentView转场动画 */
    TransitionTypePresent = 0,
    /** 移除转场动画 */
    TransitionTypeDismiss
};


@interface TransitionAnimation : NSObject<UIViewControllerAnimatedTransitioning,CAAnimationDelegate>

+ (instancetype)transitionWhithTransitionType:(TransitionType)type;

@end
